package com.kwedding.util;
import java.util.List;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("页面信息")
public class Resp_PageInfo<T> {

	@ApiModelProperty("List数据")
	private List<T> listData;
	@ApiModelProperty("当前页")
	private int pageNum;
	@ApiModelProperty("每页的数量")
	private int pageSize;
	@ApiModelProperty("当前页的数量")
	private int size;
	@ApiModelProperty("总记录数")
	private long total;
	@ApiModelProperty("总页数")
	private int pages;
	@ApiModelProperty("前一页")
	private int prePage;
	@ApiModelProperty("下一页")
	private int nextPage;
	@ApiModelProperty("是否为第一页")
	private boolean isFirstPage = false;
	@ApiModelProperty("是否为最后一页")
	private boolean isLastPage = false;
	@ApiModelProperty("是否有前一页")
	private boolean hasPreviousPage = false;
	@ApiModelProperty("是否有下一页")
	private boolean hasNextPage = false;
	@ApiModelProperty("导航页码数")
	private int navigatePages;
	@ApiModelProperty("所有导航页号")
	private int[] navigatepageNums;
	@ApiModelProperty("导航条上的第一页")
	private int navigateFirstPage;
	@ApiModelProperty("导航条上的最后一页")
	private int navigateLastPage;

	public int getPageNum() {
		return pageNum;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public long getTotal() {
		return total;
	}

	public void setTotal(long total) {
		this.total = total;
	}

	public int getPages() {
		return pages;
	}

	public void setPages(int pages) {
		this.pages = pages;
	}

	public int getPrePage() {
		return prePage;
	}

	public void setPrePage(int prePage) {
		this.prePage = prePage;
	}

	public int getNextPage() {
		return nextPage;
	}

	public void setNextPage(int nextPage) {
		this.nextPage = nextPage;
	}

	public boolean isFirstPage() {
		return isFirstPage;
	}

	public void setFirstPage(boolean isFirstPage) {
		this.isFirstPage = isFirstPage;
	}

	public boolean isLastPage() {
		return isLastPage;
	}

	public void setLastPage(boolean isLastPage) {
		this.isLastPage = isLastPage;
	}

	public boolean isHasPreviousPage() {
		return hasPreviousPage;
	}

	public void setHasPreviousPage(boolean hasPreviousPage) {
		this.hasPreviousPage = hasPreviousPage;
	}

	public boolean isHasNextPage() {
		return hasNextPage;
	}

	public void setHasNextPage(boolean hasNextPage) {
		this.hasNextPage = hasNextPage;
	}

	public int getNavigatePages() {
		return navigatePages;
	}

	public void setNavigatePages(int navigatePages) {
		this.navigatePages = navigatePages;
	}

	public int[] getNavigatepageNums() {
		return navigatepageNums;
	}

	public void setNavigatepageNums(int[] navigatepageNums) {
		this.navigatepageNums = navigatepageNums;
	}

	public int getNavigateFirstPage() {
		return navigateFirstPage;
	}

	public void setNavigateFirstPage(int navigateFirstPage) {
		this.navigateFirstPage = navigateFirstPage;
	}

	public int getNavigateLastPage() {
		return navigateLastPage;
	}

	public void setNavigateLastPage(int navigateLastPage) {
		this.navigateLastPage = navigateLastPage;
	}

	public List<T> getListData() {
		return listData;
	}

	public void setListData(List<T> listData) {
		this.listData = listData;
	}

}
